SvdLeastSqr

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

SvdLeastSqr()  

SYNOPSIS

xtra_lib/nure_svd.c:277

RealType SvdLeastSqr(RealType *A, RealType *x, RealType *b, int NData, int Nx)
 

DESCRIPTION

Least square solves A x = b. The vector X is of size Nx, vector b is of size NData and matrix A is of size Nx by NData. Uses singular value decomposition. If A != NULL is SVD decomposition is computed, otherwise (A == NULL) a solution is computed for the given b and is placed in x.  

PARAMETERS:

A: The matrix of size Nx by NData.

x: The vector of sought solution of size Nx.

b: The vector of coefficients of size NData.

NData, Nx: Dimensions of input.  

FUNCTION RETURN VALUE

RealType: The reciprocal of the condition number, if A != NULL, zero otherwise.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:09 GMT, October 17, 2022